package com.aios.util;

import java.util.HashMap;
import java.util.Map;

public class DataManipulator {
	
	private String sortBy = "EMPLOYEE_ID";
	private String sortOrder = "ASC";
	private String dataType = "iris_user";
	private Map<String, String> searchParamMap = new HashMap<String, String>();
	
	public String getSortBy() {
		return sortBy;
	}
	public void setSortBy(String sortBy) {
		this.sortBy = sortBy;
	}
	public String getSortOrder() {
		return sortOrder;
	}
	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}
	
	public Map<String, String> getSearchParamMap() {
		return searchParamMap;
	}
	public void setSearchParamMap(Map<String, String> searchParamMap) {
		this.searchParamMap = searchParamMap;
	}
	public void addSearchParam(String key, String value) {
		searchParamMap.put(key, value);
	}
	public boolean hasSearchParam() {
		return !(searchParamMap.isEmpty());
	}
	
	public void clearSearchParam() {
		searchParamMap.clear();
	}
	public String getDataType() {
		return dataType;
	}
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
	
}
